import request from '@/utils/request.js'

export function queryUser(val) {
	return request({
		url: '/med-front-mine/mine/queryUser',
		method: 'get',
		params: val
	})
}

export function updateUser(val) {
	return request({
		url: '/med-front-mine/mine/updateUser',
		method: 'get',
		params: val
	})
}

export function sendCode(val) {
	return request({
		url: '/med-front-mine/mine/sendCode',
		method: 'post',
		data: val
	})
}

export function queryComments(val) {
	return request({
		url: '/med-front-mine/mine/queryComments',
		method: 'get',
		params: val
	})
}

export function deleteComments(val) {
	return request({
		url: '/med-front-mine/mine/deleteComment',
		method: 'get',
		params: val
	})
}